Welcome Guest | Sign in | Register
Advanced Java - Java Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com

Home > Technical Interviews > Computer Science & Engineering > Java Programming > Advanced Java Questions and Answers

51. Which Container method is used to cause a container to be laid out and redisplayed?

validate() method is used to cause a container to be laid out and redisplayed.

52. What is the purpose of the Runtime class?

The purpose of the Runtime class is to provide access to the Java runtime system.

53. How many times may an object's finalize() method be invoked by the garbage collector?

An object's finalize() method may only be invoked once by the garbage collector.

54. What is the purpose of the finally clause of a try-catch-finally statement?

The finally clause is used to provide the capability to execute code no matter whether or not an exception is thrown or caught.

55. What is the argument type of a program's main() method?

A program's main() method takes an argument of the String[] type.




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.